<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilsecure: xsecure_plat_aes.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilsecure
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsecure__plat__aes_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xsecure_plat_aes.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains Versal Net specific code for Xilsecure aes server. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
</p>
<hr/>
<p>
5.2   kpt   06/20/23 Initial release
5.4   yog   04/29/24 Fixed doxygen grouping.
      kpt   06/13/24 Added AES key unwrap with padding support.</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga54f245411d6dc8248fde64c3727d0210"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__server__apis.html#ga54f245411d6dc8248fde64c3727d0210">XSECURE_AES_ECB_MODE_EN</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:ga54f245411d6dc8248fde64c3727d0210"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES ECB Mode Enable.  <a href="group__xsecure__aes__server__apis.html#ga54f245411d6dc8248fde64c3727d0210">More...</a><br/></td></tr>
<tr class="separator:ga54f245411d6dc8248fde64c3727d0210"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c335ab77abaf46efb54cdd08a16c7d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__server__apis.html#ga9c335ab77abaf46efb54cdd08a16c7d6">XSECURE_AES_ECB_MODE_DIS</a>&#160;&#160;&#160;(0U)</td></tr>
<tr class="memdesc:ga9c335ab77abaf46efb54cdd08a16c7d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES ECB Mode Enable.  <a href="group__xsecure__aes__server__apis.html#ga9c335ab77abaf46efb54cdd08a16c7d6">More...</a><br/></td></tr>
<tr class="separator:ga9c335ab77abaf46efb54cdd08a16c7d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa26b61acf33b45fed961e0e3a59f7baa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__server__apis.html#gaa26b61acf33b45fed961e0e3a59f7baa">XSECURE_AES_64BIT_BLOCK_SIZE</a>&#160;&#160;&#160;(8U)</td></tr>
<tr class="memdesc:gaa26b61acf33b45fed961e0e3a59f7baa"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES 64-bit block size in bytes.  <a href="group__xsecure__aes__server__apis.html#gaa26b61acf33b45fed961e0e3a59f7baa">More...</a><br/></td></tr>
<tr class="separator:gaa26b61acf33b45fed961e0e3a59f7baa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga42ab2048d7363ba51f6d9c4e9c93d88e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__server__apis.html#ga42ab2048d7363ba51f6d9c4e9c93d88e">XSecure_AesEcbCfg</a> (XSecure_Aes *InstancePtr, u32 EcbModeFlag)</td></tr>
<tr class="memdesc:ga42ab2048d7363ba51f6d9c4e9c93d88e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets AES ECB mode.  <a href="group__xsecure__aes__server__apis.html#ga42ab2048d7363ba51f6d9c4e9c93d88e">More...</a><br/></td></tr>
<tr class="separator:ga42ab2048d7363ba51f6d9c4e9c93d88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6422d39ce630dc928daba92a65da4c56"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__server__apis.html#ga6422d39ce630dc928daba92a65da4c56">XSecure_AesEcbDecrypt</a> (XSecure_Aes *InstancePtr, u64 KeyAddr, <a class="el" href="group__xsecure__aes__client__apis.html#ga55cd9d64e04cce6a57d729b67a5f0c47">XSecure_AesKeySize</a> KeySize, u64 InDataAddr, u64 OutDataAddr, u32 Size)</td></tr>
<tr class="memdesc:ga6422d39ce630dc928daba92a65da4c56"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function writes AES key into XSECURE_AES_USER_KEY_7 and decrypts the data in ECB mode.  <a href="group__xsecure__aes__server__apis.html#ga6422d39ce630dc928daba92a65da4c56">More...</a><br/></td></tr>
<tr class="separator:ga6422d39ce630dc928daba92a65da4c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4da9ead453ef1dbeebefeebb377eb94d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__server__apis.html#ga4da9ead453ef1dbeebefeebb377eb94d">XSecure_AesKeyUnwrap</a> (XSecure_Aes *InstancePtr, u8 *EphAesKey, <a class="el" href="group__xsecure__aes__client__apis.html#ga55cd9d64e04cce6a57d729b67a5f0c47">XSecure_AesKeySize</a> KeySize, u8 *AesWrapKey, u64 OutDataAddr, u32 Size)</td></tr>
<tr class="memdesc:ga4da9ead453ef1dbeebefeebb377eb94d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function unwraps the given AES wrapped key.  <a href="group__xsecure__aes__server__apis.html#ga4da9ead453ef1dbeebefeebb377eb94d">More...</a><br/></td></tr>
<tr class="separator:ga4da9ead453ef1dbeebefeebb377eb94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
